﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFSystem.JXC.AccessDAL
{
    internal static class Common
    {
        internal static string GetValue(object obj)
        {
            if (obj is DBNull)
            {
                return string.Empty;
            }
            else if (obj is Nullable)
            {
                return string.Empty;
            }
            else
            {
                return obj.ToString().Trim();
            }
        }
    }
}
